package com.demo.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author linchong
 * @version 1.0
 * @Date: 2022-05-14 21:11
 * @Description: CourseInfoAnnotation$
 */
//作用在类和方法上
@Target({ElementType.TYPE,ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface CourseInfoAnnotation {

	public String courseName();

	public String courseTag();

	public String courseProfile();

	public int courseIndex() default 303;

}
